package cn.stylefeng.guns.modular.history.controller;

import cn.stylefeng.roses.kernel.scanner.api.annotation.ApiResource;
import cn.stylefeng.roses.kernel.scanner.api.annotation.GetResource;
import org.springframework.stereotype.Controller;

/**
 * 投票记录表;界面
 *
 * @author songq
 * @date 2025/04/22 14:55
 */
@Controller
@ApiResource(name = "投票记录表;界面")
public class VoteHistoryViewController {

    /**
     * 投票记录表;首页
     *
     * @author songq
     * @date 2025/04/22 14:55
     */
    @GetResource(name = "投票记录表;首页", path = "/view/voteHistory")
    public String voteHistoryIndex() {
        return "/modular/business/votehistory/voteHistory.html";
    }

    /**
     * 投票记录表;-新增
     *
     * @author songq
     * @date 2025/04/22 14:55
     */
    @GetResource(name = "投票记录表;-新增", path = "/view/voteHistory/add")
    public String voteHistoryAdd() {
        return "/modular/business/votehistory/voteHistory_add.html";
    }

    /**
     * 投票记录表;-编辑
     *
     * @author songq
     * @date 2025/04/22 14:55
     */
    @GetResource(name = "投票记录表;-编辑", path = "/view/voteHistory/edit")
    public String voteHistoryEdit() {
        return "/modular/business/votehistory/voteHistory_edit.html";
    }

}